home *** CD-ROM | disk | FTP | other *** search
/ Thailand - Into the 2000's / Thailand: Into the 2000's.iso / Acrobat / Acrobat.exe / EXVW / 10050 < prev    next >
Text File  |  2001-10-26  |  2KB  |  53 lines

  1. gWhichColorsWidth=max(
  2.     zstring_width(zstring: '$$$avUseDocumentColors'),
  3.     zstring_width(zstring: '$$$avUsePreferenceColors'),
  4.     zstring_width(zstring: '$$$avUseSystemColors'));
  5. gWhenColorsWidth=max(
  6.     zstring_width(zstring: '$$$avReplaceDefaultColors'),
  7.     zstring_width(zstring: '$$$avOverrideDocColors'));
  8. gMaxTextBackgroundWidth=max(
  9.     zstring_width(zstring: '$$$/Prefs/Access/Colors/Text'),
  10.     zstring_width(zstring: '$$$/Prefs/Access/Colors/Background'));
  11.  
  12. dialog(name: '$$$/Prefs/Access', margin_height: 0, margin_width: 0)
  13. {
  14.     view(dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth, align_children: align_left)
  15.     {
  16.         cluster(name: '$$$/Prefs/Access/Colors/Title')
  17.         {
  18.             static_text(name: '$$$/Prefs/Access/Colors/When');
  19.             popup(item_id: 'When', width: max(gWhenColorsWidth, gWhichColorsWidth));
  20.             gap();
  21.             static_text(name: '$$$/Prefs/Access/Colors/Use');
  22.             popup(item_id: 'Wich', width: max(gWhenColorsWidth, gWhichColorsWidth));
  23.         }
  24.         cluster(name: '$$$/Prefs/Access/Colors/MyColors', align_children: align_left)
  25.         {
  26.  
  27.             view(align_children: align_row)
  28.             {
  29.                 static_text(name: '$$$/Prefs/Access/Colors/Text', width: gMaxTextBackgroundWidth, alignment: align_right);
  30.                 button(item_id: 'Text', picture: true, height: 20, width: 22);
  31.             }
  32.  
  33.             view(align_children: align_row )
  34.             {
  35.                 static_text(name: '$$$/Prefs/Access/Colors/Background', width: gMaxTextBackgroundWidth, alignment: align_right);
  36.                 button(item_id: 'Back', picture: true, height: 20, width: 22);
  37.             }
  38.         }
  39.  
  40.         cluster(item_id: 'Clus', name: '$$$/Prefs/Access/PageMode', alignment: align_fill)
  41.         {
  42.             static_text(item_id: 'Desc', name: '$$$/Dialogs/EmptyStr', alignment: align_fill, height: gStaticTextHeight * 2);
  43.             view(align_children: align_row)
  44.             {
  45.                 check_box(item_id: 'Mode', name: '$$$/Prefs/Access/SwitchToPageModeAbove');
  46.                 edit_text(item_id: 'MaxP', width: max_char_width() * 4);
  47.                 static_text(item_id: 'Labl', name: '$$$/Prefs/Access/Pages');
  48.             }
  49.         }
  50.     }
  51.  
  52. }
  53.